class AddThumbnailsToLandmarks < ActiveRecord::Migration
  def self.up
    add_column :landmarks, :content_type, :string
    add_column :landmarks, :filename, :string
    add_column :landmarks, :size, :integer
    add_column :landmarks, :width, :integer
    add_column :landmarks, :height, :integer
  end

  def self.down
    remove_column :landmarks, :height
    remove_column :landmarks, :width
    remove_column :landmarks, :size
    remove_column :landmarks, :filename
    remove_column :landmarks, :content_type
  end
end
